package org.Image.management.SpringDataService.Pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.io.File;

@Slf4j
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
// 软件配置类
public class AppConfig {
    //JSON 保存文件路径
    public static final String JSON_FILE_UTILS_PATH = "./DataFile/json/";

    //目录选择器初始目录
    public static final File DIRECTORY_CHOOSER_INITIAL_DIRECTORY = new File("./");


    @Value(value = "${com.storage.uploadPath}")
    private String uploadPath = "./DataFile/path"; // 设置默认值



}

